<div xmlns:th="http://www.thymeleaf.org" th:fragment="qcBeforeList">
	<section class="content-header">
		<h3>前质控管理</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i> 首页</li>
			<li>质控管理</li>
			<li class="active">前质控</li>
		</ol>
	</section>
	<!-- Main content -->
	<section class="content">
		<div class="box">
			<div class="box-header">
				<h3 class="box-title">前质控列表</h3>
			</div>
			<!-- /.box-header -->
			<div class="box-body">
				<div class="nav-tabs-custom">
					<ul class="nav nav-tabs">
						<li class="active"><a href="#tab_unfinish" data-toggle="tab">待办列表</a></li>
						<li><a href="#tab_finish" data-toggle="tab">已办列表</a></li>
					</ul>
					<div class="tab-content">
						<!-- 待办列表 -->
						<div id="tab_unfinish" class="tab-pane active">
							<!-- 查询条件 start -->
							<form id="unfinishQueryForm" class="form-horizontal">
								<div class="form-group">
									<label class="col-md-1 control-label">申请日期： </label>
									<div class="col-md-4">
										<input class="form-control date form_date" name="start_date"
											bindname="start_date" type="text" readonly
											style="width: 29%; display: inline"> <span
											class="ml10 mr10">-</span> <input class="form-control date form_date"
											name="end_date" bindname="end_date" type="text" readonly
											style="width: 29%; display: inline">
									</div>
									<label class="col-md-1 control-label">会诊类别： </label>
									<div class="col-md-3">
										<select id="unfinishConclass" name="con_class"
											bindname="con_class" style="width: 45%;"></select>
									</div>
								</div>
								<div class="form-group">
									<label class="col-md-1 control-label">申请医院： </label>
									<div class="col-md-4">
										<input class="form-control" type="text" name="apply_hname"
											bindname="apply_hname" placeholder="请输入申请医院模糊匹配..."
											style="width: 65%;" />
									</div>
									<label class="col-md-1 control-label">患者姓名： </label>
									<div class="col-md-4">
										<input class="form-control" type="text" name="patient_name"
											bindname="patient_name" placeholder="请输入患者姓名模糊匹配..."
											style="width: 65%;" />
									</div>
									<div class="col-md-1">
										<button id="unfinishQueryBtn" type="button"
											class="btn btn-warning pull-right w100">
											<i class="fa fa-search"></i>搜索
										</button>
									</div>
								</div>
							</form>
							<!-- 查询条件 end -->
							<table data-class="table table-bordered" id="unfinishConTable"
								data-striped="true" data-pagination="true"
								data-side-pagination="server" data-page-size="10"
								data-page-list="[10, 20]">
								<thead>
									<tr class="dataStore_title">
										<th data-field="con_status" data-align="left"
											data-valign="middle" data-formatter-args="conStatusMap" data-formatter="statusFormatter" data-width="15%">会诊状态</th>
										<th data-field="con_class" data-align="left"
											data-valign="middle" data-width="10%"
											data-formatter-args="conClassMap" data-formatter="transcode">会诊类别</th>
										<th data-field="apply_pname" data-align="left"
											data-valign="middle" data-width="15%">患者姓名</th>
										<th data-field="apply_hname" data-align="left"
											data-valign="middle" data-width="15%">申请医院</th>
										<th data-field="apply_uname" data-align="left" data-width="15%"
											data-valign="middle">申请人</th>
										<th data-field="apply_time" data-align="left" data-width="15%"
											data-valign="middle" data-formatter="dateFormatter">申请日期</th>
										<th data-field="operation" data-align="center"
											data-valign="middle" data-formatter="operateFormatter"
											data-events="unfinishOperateEvents" data-width="15%"><div>操&nbsp;作</div></th>
									</tr>
								</thead>
							</table>
						</div>

						<!-- 已办列表 -->
						<div id="tab_finish" class="tab-pane">
							<!-- 查询条件 start -->
							<form id="finishQueryForm" class="form-horizontal">
								<div class="form-group">
									<label class="col-md-1 control-label">申请日期： </label>
									<div class="col-md-4">
										<input class="form-control date form_date" name="start_date"
											bindname="start_date" type="text" readonly
											style="width: 29%; display: inline"> <span
											class="ml10 mr10">-</span> <input class="form-control date form_date"
											name="end_date" bindname="end_date" type="text" readonly
											style="width: 29%; display: inline">
									</div>
									<label class="col-md-1 control-label">会诊类别： </label>
									<div class="col-md-3">
										<select id="finishConclass" name="con_class"
											bindname="con_class" style="width: 45%;"></select>
									</div>
								</div>
								<div class="form-group">
									<label class="col-md-1 control-label">申请医院： </label>
									<div class="col-md-4">
										<input class="form-control" type="text" name="apply_hname"
											bindname="apply_hname" placeholder="请输入申请医院模糊匹配..."
											style="width: 65%;" />
									</div>
									<label class="col-md-1 control-label">患者姓名： </label>
									<div class="col-md-4">
										<input class="form-control" type="text" name="patient_name"
											bindname="patient_name" placeholder="请输入患者姓名模糊匹配..."
											style="width: 65%;" />
									</div>
									<div class="col-md-1">
										<button id="finishQueryBtn" type="button"
											class="btn btn-warning pull-right w100">
											<i class="fa fa-search"></i>搜索
										</button>
									</div>
								</div>
							</form>
							<!-- 查询条件 end -->
							<table data-class="table table-bordered" id="finishConTable"
								data-striped="true" data-pagination="true"
								data-side-pagination="server" data-page-size="10"
								data-page-list="[10, 20]">
								<thead>
									<tr class="dataStore_title">
										<th data-field="con_status" data-align="left"
											data-valign="middle" data-formatter-args="conStatusMap" data-formatter="transcode" data-width="15%">会诊状态</th>
										<th data-field="con_class" data-align="left"
											data-valign="middle" data-width="10%"
											data-formatter-args="conClassMap" data-formatter="transcode">会诊类别</th>
										<th data-field="apply_pname" data-align="left"
											data-valign="middle" data-width="15%">患者姓名</th>
										<th data-field="apply_hname" data-align="left"
											data-valign="middle" data-width="15%">申请医院</th>
										<th data-field="apply_uname" data-align="left" data-width="15%"
											data-valign="middle">申请人</th>
										<th data-field="apply_time" data-align="left" data-width="15%"
											data-valign="middle" data-formatter="dateFormatter">申请日期</th>
										<th data-field="operation" data-align="center"
											data-valign="middle" data-formatter="operateFormatter"
											data-events="finishOperateEvents" data-width="15%"><div>操&nbsp;作</div></th>
									</tr>
								</thead>
							</table>
						</div>
					</div>
				</div>
			</div>
		</div>
	</section>
</div>
